package com.xysoft.admin.service;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

public interface IRoleService extends IBaseService {
	/**
	 * 获取后台角色.
	 */
	public String get(HttpServletRequest request, HttpSession session);
	
	/**
	 * 获取所有前台权限.
	 */
	public String getAllAction();
	
	/**
	 * 获取角色权限.
	 */
	public Map<String,Object> getAuto(HttpServletRequest request, HttpSession session);
	
	/**
	 * 保存角色权限.
	 */
	public Map<String,Object> save(HttpServletRequest request, HttpSession session);
	
}
